package net.roseparadise.dao;
// default package

import java.util.List;

import net.roseparadise.model.Personality;
import net.roseparadise.model.PersonalityId;

public interface PersonalityDAO  {
    
    public void save(Personality transientInstance);
    
	public void delete(Personality persistentInstance);
    
    public Personality findById( PersonalityId id);
    
    public List<Personality> findByExample(Personality instance);
    
    public List findByProperty(String propertyName, Object value) ;

	public List<Personality> findByPersonalityorder(Object personalityorder);
	
	public List<Personality> findByPersonalityname(Object personalityname);
	
	public List<Personality> findByPersonalitycontent(Object personalitycontent);
	
	public List findAll();
	
    public Personality merge(Personality detachedInstance);


}